package com.springstudy.dao.impl;


import com.springstudy.dao.UserDao;

/**
 * @author Tamako
 * @since 2024/12/30 17:12
 */
public class UserDaoImpl implements UserDao {
    @Override
    public void show() throws InterruptedException {
        Thread.sleep(1000);
        System.out.println("UserDaoImpl show");
    }
//    private String username;
//
//    @Override
//    public void setUsername(String username) {
//        this.username = username;
//    }
//
//    public UserDaoImpl() {
//        System.out.println("UserDaoImpl is created");
//    }
//
//    public void init() {
//        System.out.println("UserDaoImpl init run");
//    }
//
//    @Override
//    public void afterPropertiesSet() throws Exception {
//        System.out.println("属性设置之后执行");
//    }
}
